<template lang="html">
    <div
      class="x-bar"
      :id="chartId"
      :option='option'
      >
      </div>
</template>

<script>
import {formatNum} from '../../util/tool'
var china = require("echarts/map/json/china")
var hai = require("echarts/map/json/province/shanghai")
var hui = require("echarts/map/json/province/anhui")
var zhe = require("echarts/map/json/province/zhejiang")
var su = require("echarts/map/json/province/jiangsu")
export default {
  props : {
    chartId : {
      type : String,
    },
    title : {
      type : String,
    },
    options : {
      type : Array,
    }
  },
  data(){
    return {
      regions: [],
      chart : '',
      option : {
        geo: {
            name: 'china',
            // map: 'tt',
            map: 'chuang'
        },
        series: [
          {
            name: 'china',
            type: 'map',
            typeMap: 'chuang'
          }
        ]
      }
    }
  },
  watch : {
    options: {
      handler(newVal, oldVal) {
        if (this.chart) {
          if (newVal) {
            this.chart.setOption(this.option);
          } else {
            this.chart.setOption(this.option);
          }
        } else {
            this.init();
        }
      },
      deep: true
    }
  },
  methods : {
    init() {
        var myjson={
            "type": "FeatureCollection",
            "features":
                    [
                    {"type": "Feature","properties":{"id":"34","name":"安徽","cp":[117.2461,32.0361],"childNum":17},"geometry":{"type":"Polygon","coordinates":[[[116.6309,33.9258],[116.543,34.2773],[116.1914,34.4092],[116.1914,34.585],[116.3672,34.6289],[116.8945,34.4092],[117.1582,34.0576],[117.5977,34.0137],[117.7734,33.7061],[118.125,33.75],[117.9492,33.2227],[118.0371,33.1348],[118.2129,33.2227],[118.3008,32.7832],[118.7402,32.7393],[118.916,32.959],[119.1797,32.8271],[119.1797,32.4756],[118.5645,32.5635],[118.6523,32.2119],[118.4766,32.168],[118.3887,31.9482],[118.916,31.5527],[118.7402,31.377],[118.8281,31.2451],[119.3555,31.2891],[119.4434,31.1572],[119.6191,31.1133],[119.6191,31.0693],[119.4434,30.6738],[119.2676,30.6299],[119.3555,30.4102],[118.916,30.3223],[118.916,29.9707],[118.7402,29.707],[118.2129,29.3994],[118.0371,29.5752],[117.5098,29.6191],[117.1582,29.9268],[117.0703,29.8389],[117.1582,29.707],[116.7188,29.6191],[116.7188,29.751],[116.8945,29.9268],[116.7188,30.0586],[116.2793,29.7949],[116.1035,29.8389],[116.1035,30.1904],[115.752,30.6738],[116.0156,31.0254],[115.5762,31.2012],[115.4004,31.4209],[115.4883,31.6846],[115.9277,31.7725],[115.8398,32.5195],[115.5762,32.4316],[115.2246,32.6074],[115.1367,32.8711],[114.873,33.0029],[114.873,33.1348],[115.3125,33.1787],[115.4004,33.5303],[115.5762,33.6621],[115.5762,33.9258],[115.6641,34.0576],[116.0156,33.9697],[116.1914,33.7061],[116.6309,33.9258]]]}},
                    {"type": "Feature","properties":{"id":"33","name":"浙江","cp":[120.498,29.0918],"childNum":11},"geometry":{"type":"Polygon","coordinates":[[[118.2129,29.3994],[118.7402,29.707],[118.916,29.9707],[118.916,30.3223],[119.3555,30.4102],[119.2676,30.6299],[119.4434,30.6738],[119.6191,31.0693],[119.6191,31.1133],[119.9707,31.1572],[120.498,30.8057],[120.9375,31.0254],[121.2891,30.6738],[121.9922,30.8057],[122.6953,30.8936],[122.8711,30.7178],[122.959,30.1465],[122.6074,30.1025],[122.6074,29.9268],[122.168,29.5313],[122.3438,28.8721],[121.9922,28.8721],[121.9922,28.4326],[121.7285,28.3447],[121.7285,28.2129],[121.4648,28.2129],[121.5527,28.0371],[121.2891,27.9492],[121.1133,27.4219],[120.6738,27.334],[120.6738,27.1582],[120.9375,27.0264],[120.7617,27.0264],[120.4102,27.1582],[120.2344,27.4219],[119.7949,27.29],[119.6191,27.6855],[119.2676,27.4219],[118.916,27.4658],[118.7402,28.0371],[118.8281,28.2568],[118.4766,28.3008],[118.4766,28.3447],[118.3887,28.7842],[118.0371,29.0479],[118.0371,29.1797],[118.2129,29.3994]]]}},
                    {"type": "Feature","properties":{"id":"32","name":"江苏","cp":[120.0586,32.915],"childNum":13},"geometry":{"type":"Polygon","coordinates":[[[116.3672,34.6289],[116.4551,34.8926],[116.8066,34.9365],[117.2461,34.4531],[117.334,34.585],[117.5977,34.4531],[117.9492,34.6729],[118.125,34.6289],[118.2129,34.4092],[118.3887,34.4092],[118.4766,34.6729],[118.7402,34.7168],[118.916,35.0244],[119.2676,35.1123],[119.3555,35.0244],[119.3555,34.8486],[119.707,34.585],[120.3223,34.3652],[120.9375,33.0469],[121.0254,32.6514],[121.377,32.4756],[121.4648,32.168],[121.9043,31.9922],[121.9922,31.6846],[121.9922,31.5967],[121.2012,31.8604],[121.1133,31.7285],[121.377,31.5088],[121.2012,31.4648],[120.9375,31.0254],[120.498,30.8057],[119.9707,31.1572],[119.6191,31.1133],[119.4434,31.1572],[119.3555,31.2891],[118.8281,31.2451],[118.7402,31.377],[118.916,31.5527],[118.3887,31.9482],[118.4766,32.168],[118.6523,32.2119],[118.5645,32.5635],[119.1797,32.4756],[119.1797,32.8271],[118.916,32.959],[118.7402,32.7393],[118.3008,32.7832],[118.2129,33.2227],[118.0371,33.1348],[117.9492,33.2227],[118.125,33.75],[117.7734,33.7061],[117.5977,34.0137],[117.1582,34.0576],[116.8945,34.4092],[116.3672,34.6289]]]}},
                    {"type": "Feature","properties":{"id":"31","name":"上海","cp":[121.4648,31.2891],"childNum":19},"geometry":{"type":"Polygon","coordinates":[[[120.9375,31.0254],[121.2012,31.4648],[121.377,31.5088],[121.1133,31.7285],[121.2012,31.8604],[121.9922,31.5967],[121.9043,31.1572],[121.9922,30.8057],[121.2891,30.6738],[120.9375,31.0254]]]}},
                    ]};
      var area = {
        "type": "FeatureCollection",
        "features":
          [
            {"type": "Feature","properties":{"id":"34","name":"安徽","cp":[117.283042,31.86119],"childNum":16},"geometry":{ "type":"Polygon","coordinates": [] }},
            {"type": "Feature","properties":{"id":"33","name":"浙江","cp":[120.153576,30.287459],"childNum":11},"geometry":{ "type":"Polygon","coordinates": [] }},
            {"type": "Feature","properties":{"id":"32","name":"江苏","cp":[118.767413,32.041544],"childNum":13},"geometry":{ "type":"Polygon","coordinates": [] }},
            {"type": "Feature","properties":{"id":"31","name":"上海","cp":[121.472644,31.231706],"childNum":16},"geometry":{ "type":"Polygon","coordinates": [] }},
          ]
      };    

      var provinceJson = {"type": "FeatureCollection",
        "features":
                [
                    {"type": "Feature","properties":{"id":"3209","name":"盐城市","cp":[120.2234,33.5577],"childNum":8},"geometry":{"type":"Polygon","coordinates":[[[119.4763,33.6951],[119.5093,33.717],[119.5093,33.75],[119.5642,33.8434],[119.6411,33.8983],[119.6411,33.9478],[119.6301,33.9532],[119.6191,33.9478],[119.5972,33.9752],[119.5972,33.9917],[119.5752,33.9972],[119.5642,34.0137],[119.5642,34.0356],[119.5532,34.0576],[119.5642,34.0686],[119.5752,34.0741],[119.5862,34.0906],[119.5532,34.1125],[119.5422,34.1071],[119.5203,34.1345],[119.5313,34.1455],[119.5313,34.162],[119.5093,34.162],[119.5093,34.173],[119.5532,34.2059],[119.5862,34.2114],[119.6631,34.2554],[119.74,34.3048],[119.751,34.3268],[119.762,34.3488],[119.8059,34.3817],[119.7839,34.4092],[119.7949,34.4147],[119.7949,34.4366],[119.7949,34.4696],[119.8499,34.5465],[119.9377,34.5245],[120.0037,34.4916],[120.0806,34.4751],[120.3223,34.3762],[120.3552,34.3488],[120.3772,34.1565],[120.4541,34.0686],[120.4871,33.9862],[120.498,33.9093],[120.52,33.8708],[120.6189,33.7555],[120.7178,33.5632],[120.7507,33.4644],[120.7507,33.3325],[120.7507,33.327],[120.8276,33.316],[120.8496,33.3051],[120.8496,33.2721],[120.8276,33.2501],[120.8496,33.1842],[120.9155,33.1128],[120.9595,33.0414],[120.9814,32.9315],[120.9924,32.6678],[120.9924,32.6569],[120.8826,32.6239],[120.8496,32.6074],[120.8386,32.6074],[120.8276,32.5909],[120.7947,32.58],[120.7947,32.6019],[120.7507,32.6019],[120.7288,32.5854],[120.7178,32.5909],[120.7178,32.6019],[120.7068,32.6019],[120.6848,32.5964],[120.6628,32.5745],[120.6519,32.5854],[120.6519,32.6019],[120.6299,32.6184],[120.6189,32.6074],[120.6189,32.6239],[120.5969,32.6514],[120.575,32.6349],[120.542,32.6349],[120.509,32.6404],[120.498,32.6349],[120.498,32.6294],[120.4871,32.6239],[120.4761,32.6294],[120.4431,32.6294],[120.4321,32.6788],[120.3882,32.6953],[120.3882,32.7063],[120.3772,32.7118],[120.3333,32.7008],[120.3333,32.6953],[120.3113,32.7063],[120.2783,32.6788],[120.2234,32.6733],[120.2344,32.6514],[120.2124,32.6239],[120.2124,32.6074],[120.2014,32.6019],[120.1904,32.6074],[120.2014,32.6184],[120.1794,32.6294],[120.1794,32.6239],[120.1245,32.6129],[120.1135,32.6129],[120.1135,32.6294],[120.1245,32.6349],[120.1245,32.6843],[120.1355,32.6898],[120.1465,32.7063],[120.1575,32.7063],[120.1575,32.7118],[120.1685,32.7228],[120.1794,32.7173],[120.1794,32.7502],[120.2124,32.7557],[120.2234,32.7777],[120.2234,32.7942],[120.2014,32.7887],[120.1794,32.7722],[120.1575,32.7832],[120.1685,32.7942],[120.1575,32.8052],[120.1685,32.8162],[120.1904,32.8107],[120.1904,32.8271],[120.1794,32.8271],[120.2014,32.8546],[120.2124,32.8656],[120.1794,32.8821],[120.1794,32.9315],[120.2014,32.9315],[120.2014,32.9205],[120.2234,32.915],[120.2344,32.9205],[120.2454,32.9315],[120.2893,32.926],[120.2893,32.937],[120.2893,32.959],[120.3003,32.959],[120.3113,32.9919],[120.3113,33.0579],[120.3003,33.0853],[120.3003,33.1293],[120.2124,33.1403],[120.0806,33.1842],[120.0476,33.1622],[119.9817,33.1512],[119.8938,33.1512],[119.8718,33.1403],[119.8718,33.1567],[119.8499,33.1567],[119.7729,33.1293],[119.751,33.1293],[119.74,33.1458],[119.751,33.1732],[119.729,33.1732],[119.729,33.1787],[119.729,33.2062],[119.74,33.2062],[119.718,33.2172],[119.6851,33.2336],[119.696,33.2666],[119.718,33.2721],[119.707,33.2831],[119.696,33.2941],[119.6521,33.2831],[119.6411,33.2941],[119.6301,33.3325],[119.6191,33.338],[119.6082,33.3765],[119.5752,33.3765],[119.5642,33.3984],[119.6191,33.4259],[119.6191,33.4369],[119.5972,33.4644],[119.5862,33.4644],[119.5752,33.4753],[119.5642,33.4698],[119.5313,33.4973],[119.5203,33.5028],[119.4983,33.5193],[119.4653,33.6346],[119.4983,33.6566],[119.4873,33.6566],[119.4873,33.6731],[119.4763,33.6951]]]}},
                    {"type": "Feature","properties":{"id":"3203","name":"徐州市","cp":[117.5208,34.3268],"childNum":7},"geometry":{"type":"Polygon","coordinates":[[[118.1689,34.3872],[118.1799,34.3817],[118.1909,34.3927],[118.1909,34.3817],[118.2129,34.3762],[118.2239,34.4037],[118.2239,34.3982],[118.2788,34.4037],[118.3008,34.4257],[118.3228,34.4257],[118.3228,34.4202],[118.3777,34.4147],[118.4106,34.4366],[118.4216,34.4202],[118.4656,34.4092],[118.5205,34.4366],[118.5754,34.4147],[118.5974,34.4421],[118.6414,34.4421],[118.6523,34.4257],[118.6743,34.4147],[118.6743,34.3982],[118.6414,34.3762],[118.6414,34.3597],[118.6194,34.3378],[118.6304,34.3378],[118.6304,34.3103],[118.5864,34.3103],[118.5754,34.2938],[118.5754,34.2773],[118.5645,34.2499],[118.5754,34.2224],[118.5645,34.1949],[118.5645,34.1675],[118.5205,34.1675],[118.5095,34.162],[118.5095,34.1125],[118.4875,34.0961],[118.3887,34.118],[118.3008,34.1125],[118.2349,34.1235],[118.2129,34.162],[118.158,34.162],[118.158,34.14],[118.147,34.1345],[118.125,34.1455],[118.103,34.14],[118.0811,34.1675],[118.0701,34.1675],[118.0591,34.151],[118.0042,34.14],[117.9932,34.118],[117.9932,34.1071],[118.0042,34.1016],[118.0042,34.0906],[118.0151,34.0851],[118.0481,34.0906],[118.0591,34.0521],[118.0591,34.0192],[118.0591,34.0082],[118.0371,34.0082],[118.0261,33.9917],[118.0481,33.9752],[118.0811,33.9642],[118.0811,33.9423],[118.114,33.9368],[118.114,33.9423],[118.114,33.9532],[118.125,33.9532],[118.136,33.9368],[118.147,33.8983],[118.1689,33.8763],[118.1799,33.8434],[118.1909,33.8269],[118.1799,33.8159],[118.1689,33.8214],[118.158,33.7939],[118.1689,33.7885],[118.1799,33.7665],[118.1689,33.75],[118.147,33.75],[118.114,33.761],[118.092,33.7665],[118.0042,33.7445],[117.9712,33.75],[117.9602,33.7555],[117.9602,33.75],[117.9492,33.728],[117.9272,33.728],[117.9163,33.7335],[117.9053,33.7335],[117.8943,33.717],[117.8503,33.739],[117.8394,33.7335],[117.8174,33.739],[117.7954,33.7335],[117.7515,33.7115],[117.7295,33.7445],[117.7405,33.761],[117.7515,33.8049],[117.7515,33.8269],[117.7625,33.8818],[117.7405,33.8928],[117.7295,33.8873],[117.7185,33.8818],[117.7075,33.8873],[117.6965,33.9203],[117.6746,33.9368],[117.6746,33.9478],[117.6636,33.9697],[117.6746,33.9917],[117.6416,34.0082],[117.6416,34.0192],[117.6086,34.0302],[117.6086,34.0247],[117.6196,34.0192],[117.6086,34.0082],[117.5867,33.9972],[117.5867,33.9807],[117.5647,33.9807],[117.5647,33.9972],[117.5427,34.0082],[117.5427,34.0356],[117.5208,34.0576],[117.4878,34.0466],[117.4548,34.0356],[117.4548,34.0247],[117.4219,34.0192],[117.3999,34.0302],[117.3999,34.0521],[117.3669,34.0576],[117.3779,34.0741],[117.356,34.0851],[117.323,34.0796],[117.312,34.0631],[117.29,34.0686],[117.2791,34.0741],[117.2241,34.0631],[117.2131,34.0741],[117.1912,34.0686],[117.1472,34.0851],[117.1582,34.0961],[117.1143,34.1016],[117.1362,34.118],[117.1362,34.1235],[117.1033,34.129],[117.0923,34.1455],[117.0703,34.1455],[117.0483,34.1565],[117.0374,34.1675],[117.0264,34.1675],[117.0374,34.2004],[117.0593,34.2279],[117.0483,34.2224],[117.0483,34.2499],[117.0264,34.2444],[117.0154,34.2609],[117.0044,34.2554],[116.9714,34.2828],[116.9714,34.3213],[116.9824,34.3542],[116.9604,34.3652],[116.9714,34.3872],[116.9275,34.4037],[116.8726,34.4037],[116.8726,34.3927],[116.8286,34.3927],[116.7957,34.4202],[116.7737,34.4531],[116.7517,34.4696],[116.7297,34.4751],[116.6638,34.4696],[116.6199,34.4861],[116.5759,34.4861],[116.5759,34.4971],[116.5979,34.5026],[116.5979,34.5081],[116.5759,34.519],[116.554,34.541],[116.521,34.541],[116.521,34.552],[116.488,34.574],[116.4771,34.6124],[116.4441,34.6234],[116.4221,34.6509],[116.3892,34.6344],[116.3672,34.6454],[116.3782,34.6619],[116.3782,34.6783],[116.3892,34.7003],[116.3782,34.7168],[116.3672,34.7168],[116.3672,34.7443],[116.4111,34.7552],[116.4001,34.7992],[116.4111,34.8157],[116.4111,34.8596],[116.4441,34.8981],[116.4661,34.8926],[116.5649,34.9091],[116.6089,34.92],[116.6199,34.931],[116.7078,34.9365],[116.7517,34.92],[116.7847,34.9146],[116.7847,34.942],[116.8066,34.931],[116.8616,34.9255],[116.8835,34.9036],[116.9165,34.8926],[116.9495,34.8926],[116.9604,34.8761],[116.9714,34.8376],[116.9824,34.7992],[117.0483,34.7772],[117.0483,34.7552],[117.0593,34.7443],[117.0703,34.7223],[117.0923,34.7058],[117.0703,34.6948],[117.0593,34.6783],[117.0703,34.6454],[117.0813,34.6399],[117.0923,34.6454],[117.1252,34.6454],[117.1582,34.563],[117.1582,34.5135],[117.1802,34.4916],[117.1912,34.4971],[117.2131,34.4531],[117.2461,34.4531],[117.2461,34.4641],[117.2571,34.4586],[117.2571,34.4696],[117.2461,34.4806],[117.2461,34.4861],[117.2571,34.4751],[117.2681,34.4751],[117.2571,34.4971],[117.2681,34.5026],[117.2791,34.5081],[117.2681,34.5135],[117.2791,34.519],[117.2681,34.53],[117.29,34.574],[117.312,34.5685],[117.345,34.585],[117.3779,34.5795],[117.3999,34.5685],[117.3999,34.5465],[117.4548,34.5026],[117.4658,34.4861],[117.4878,34.4806],[117.4878,34.4641],[117.5098,34.4751],[117.5427,34.4696],[117.5537,34.4751],[117.5867,34.4586],[117.6086,34.4916],[117.6306,34.4861],[117.6636,34.5026],[117.6855,34.5465],[117.7185,34.541],[117.7954,34.519],[117.7954,34.5685],[117.7954,34.6179],[117.7954,34.6509],[117.8064,34.6454],[117.8284,34.6509],[117.8394,34.6454],[117.8723,34.6509],[117.9053,34.6454],[117.9163,34.6729],[117.9382,34.6619],[117.9822,34.6674],[117.9932,34.6674],[118.0042,34.6454],[118.0151,34.6454],[118.0261,34.6619],[118.0481,34.6509],[118.103,34.6509],[118.092,34.6344],[118.114,34.6124],[118.0811,34.5685],[118.125,34.5575],[118.136,34.563],[118.147,34.552],[118.1799,34.5465],[118.1689,34.5081],[118.147,34.4971],[118.136,34.4861],[118.1799,34.4531],[118.1799,34.4037],[118.1689,34.3872]]]}},
                    {"type": "Feature","properties":{"id":"3206","name":"南通市","cp":[121.1023,32.1625],"childNum":7},"geometry":{"type":"Polygon","coordinates":[[[120.2014,32.6019],[120.2124,32.6074],[120.2124,32.6239],[120.2344,32.6514],[120.2234,32.6733],[120.2783,32.6788],[120.3113,32.7063],[120.3333,32.6953],[120.3333,32.7008],[120.3772,32.7118],[120.3882,32.7063],[120.3882,32.6953],[120.4321,32.6788],[120.4431,32.6294],[120.4761,32.6294],[120.4871,32.6239],[120.498,32.6294],[120.498,32.6349],[120.509,32.6404],[120.542,32.6349],[120.575,32.6349],[120.5969,32.6514],[120.6189,32.6239],[120.6189,32.6074],[120.6299,32.6184],[120.6519,32.6019],[120.6519,32.5854],[120.6628,32.5745],[120.6848,32.5964],[120.7068,32.6019],[120.7178,32.6019],[120.7178,32.5909],[120.7288,32.5854],[120.7507,32.6019],[120.7947,32.6019],[120.7947,32.58],[120.8276,32.5909],[120.8386,32.6074],[120.8496,32.6074],[120.8826,32.6239],[120.9924,32.6569],[121.0144,32.6349],[121.1133,32.569],[121.1792,32.536],[121.4099,32.4811],[121.4539,32.4536],[121.4758,32.3492],[121.4868,32.2504],[121.4978,32.157],[121.5417,32.146],[121.7065,32.135],[121.8164,32.1021],[121.9592,31.9922],[121.9812,31.9537],[121.9922,31.8823],[122.0032,31.6681],[122.0032,31.6132],[121.8713,31.6187],[121.5637,31.723],[121.5088,31.745],[121.4429,31.7615],[121.366,31.8384],[121.311,31.8658],[121.2891,31.8658],[121.2231,31.8439],[121.1023,31.7615],[121.0583,31.7834],[121.0034,31.7834],[120.8936,31.8219],[120.7837,32.0032],[120.575,32.0032],[120.553,32.0142],[120.564,32.0361],[120.553,32.0526],[120.52,32.0581],[120.52,32.0856],[120.509,32.0911],[120.4431,32.124],[120.3552,32.1295],[120.3442,32.168],[120.3662,32.2174],[120.3662,32.2394],[120.3442,32.2504],[120.3552,32.3053],[120.3662,32.3108],[120.3442,32.3383],[120.3552,32.3547],[120.3552,32.3767],[120.3113,32.3602],[120.3003,32.3712],[120.2893,32.3657],[120.2783,32.4701],[120.2563,32.4921],[120.2673,32.5031],[120.2673,32.5525],[120.2563,32.5964],[120.2234,32.5854],[120.2014,32.6019]]]}},
                    {"type": "Feature","properties":{"id":"3208","name":"淮安市","cp":[118.927,33.4039],"childNum":5},"geometry":{"type":"Polygon","coordinates":[[[118.2239,33.1787],[118.2678,33.2007],[118.4216,33.1897],[118.5095,33.2611],[118.7842,33.3435],[118.7512,33.3875],[118.7732,33.4369],[118.7952,33.5413],[118.8062,33.5742],[118.7842,33.5907],[118.7622,33.6346],[118.7952,33.6456],[118.7952,33.6731],[118.8062,33.6951],[118.8171,33.7006],[118.8171,33.728],[118.8062,33.7445],[118.8062,33.761],[118.7952,33.7665],[118.8062,33.7885],[118.7952,33.8159],[118.8281,33.8599],[118.8721,33.8928],[118.894,33.8873],[118.905,33.8928],[118.9709,33.9203],[119.0039,33.8983],[119.0369,33.9258],[119.0479,33.9368],[119.0479,33.9587],[119.0369,33.9587],[119.0479,33.9697],[119.0808,33.9862],[119.0808,34.0027],[119.1467,34.0466],[119.1577,34.0741],[119.1797,34.0906],[119.2126,34.0576],[119.2236,34.0521],[119.2346,34.0356],[119.2896,34.0411],[119.3225,34.0247],[119.3884,34.0356],[119.3994,34.0192],[119.4104,34.0082],[119.4324,34.0027],[119.4324,33.9862],[119.4434,33.9807],[119.5093,34.0137],[119.5203,34.0356],[119.5313,34.0302],[119.5422,34.0192],[119.5642,34.0137],[119.5752,33.9972],[119.5972,33.9917],[119.5972,33.9752],[119.6191,33.9478],[119.6301,33.9532],[119.6411,33.9478],[119.6411,33.8983],[119.5642,33.8434],[119.5093,33.75],[119.5093,33.717],[119.4763,33.6951],[119.4873,33.6731],[119.4873,33.6566],[119.4983,33.6566],[119.4653,33.6346],[119.4983,33.5193],[119.5203,33.5028],[119.5313,33.4973],[119.5642,33.4698],[119.5752,33.4753],[119.5862,33.4644],[119.5972,33.4644],[119.6191,33.4369],[119.6191,33.4259],[119.5642,33.3984],[119.5313,33.4149],[119.4873,33.4039],[119.4543,33.3875],[119.4214,33.3765],[119.3115,33.3655],[119.2456,33.349],[119.2346,33.3435],[119.2456,33.3215],[119.2676,33.3051],[119.1577,33.2831],[119.1577,33.2611],[119.1467,33.2391],[119.1467,33.2117],[119.2126,33.2062],[119.2236,33.1512],[119.2456,33.1567],[119.3115,33.1293],[119.3445,33.0634],[119.3665,33.0524],[119.3555,33.0304],[119.3225,32.9919],[119.3225,32.8326],[119.2456,32.8217],[119.1907,32.8271],[119.1138,32.8217],[119.0588,32.8711],[119.0479,32.8931],[119.0479,32.9095],[119.0149,32.9095],[119.0149,32.9205],[119.0259,32.926],[119.0259,32.948],[119.0259,32.9535],[118.9929,32.959],[118.927,32.937],[118.894,32.9425],[118.894,32.959],[118.8501,32.959],[118.8391,32.9425],[118.8501,32.926],[118.8391,32.915],[118.8171,32.9205],[118.8062,32.915],[118.8171,32.8546],[118.7842,32.8491],[118.7512,32.8546],[118.7402,32.8491],[118.7512,32.7997],[118.7402,32.7942],[118.7402,32.7722],[118.7512,32.7502],[118.7512,32.7393],[118.7292,32.7228],[118.7183,32.7338],[118.7073,32.7228],[118.7073,32.7338],[118.6853,32.7393],[118.6853,32.7283],[118.6414,32.7448],[118.6194,32.7393],[118.6084,32.7283],[118.5754,32.7173],[118.5535,32.7283],[118.4656,32.7228],[118.4436,32.7393],[118.4216,32.7173],[118.3777,32.7173],[118.3667,32.7338],[118.3777,32.7393],[118.3667,32.7667],[118.3447,32.7722],[118.3228,32.7612],[118.3228,32.7777],[118.3008,32.7832],[118.2898,32.7997],[118.3118,32.8107],[118.3008,32.8271],[118.2898,32.8546],[118.2458,32.8491],[118.2349,32.926],[118.3008,32.948],[118.3118,32.9645],[118.2678,32.97],[118.2458,32.9974],[118.2458,33.0304],[118.2239,33.1128],[118.2239,33.1787]]]}},
                    {"type": "Feature","properties":{"id":"3205","name":"苏州市","cp":[120.6519,31.3989],"childNum":6},"geometry":{"type":"Polygon","coordinates":[[[119.9158,31.1682],[120.0037,31.2506],[120.1025,31.2616],[120.1245,31.2726],[120.1794,31.322],[120.2344,31.355],[120.2563,31.3824],[120.4211,31.4484],[120.498,31.4484],[120.553,31.4758],[120.553,31.4813],[120.553,31.4978],[120.553,31.5088],[120.5859,31.5253],[120.6079,31.5198],[120.5969,31.5857],[120.553,31.5747],[120.542,31.5857],[120.542,31.6022],[120.564,31.6022],[120.575,31.6132],[120.5969,31.6187],[120.5969,31.6241],[120.5969,31.6516],[120.564,31.6571],[120.564,31.6681],[120.564,31.6846],[120.5859,31.6901],[120.5969,31.712],[120.5859,31.712],[120.5859,31.7285],[120.5969,31.745],[120.5859,31.778],[120.564,31.7889],[120.531,31.7889],[120.52,31.8054],[120.531,31.8329],[120.498,31.8439],[120.4871,31.8713],[120.4651,31.8823],[120.4651,31.8878],[120.3772,31.9153],[120.3882,31.9318],[120.3772,31.9427],[120.3662,31.9867],[120.4211,32.0306],[120.4321,32.0361],[120.553,32.0142],[120.575,32.0032],[120.7837,32.0032],[120.8936,31.8219],[121.0034,31.7834],[121.0583,31.7834],[121.1023,31.7615],[121.2671,31.6461],[121.322,31.5857],[121.3879,31.5472],[121.322,31.4978],[121.311,31.5033],[121.3,31.4923],[121.2451,31.4758],[121.2451,31.4923],[121.2341,31.4923],[121.1792,31.4539],[121.1462,31.4429],[121.1462,31.4374],[121.1682,31.4319],[121.1462,31.4209],[121.1572,31.4099],[121.1462,31.3879],[121.1023,31.366],[121.1133,31.355],[121.1243,31.344],[121.1243,31.3055],[121.1462,31.3],[121.1572,31.2836],[121.1462,31.2726],[121.1133,31.2836],[121.1023,31.2781],[121.0913,31.2946],[121.0803,31.2726],[121.0693,31.2671],[121.0583,31.2177],[121.0803,31.1682],[121.0693,31.1517],[121.0474,31.1572],[121.0364,31.1353],[121.0254,31.1407],[120.9814,31.1353],[120.9265,31.1407],[120.8826,31.1353],[120.8606,31.1023],[120.8716,31.0968],[120.8936,31.0968],[120.9045,31.0803],[120.8936,31.0474],[120.9045,31.0364],[120.8936,31.0034],[120.8496,30.9924],[120.8276,31.0034],[120.8057,31.0034],[120.7727,30.9924],[120.7727,30.976],[120.7507,30.965],[120.7288,30.9705],[120.6958,30.9705],[120.6848,30.9595],[120.7068,30.932],[120.7178,30.8826],[120.7068,30.8826],[120.7068,30.8716],[120.6848,30.8826],[120.6628,30.8606],[120.6628,30.8661],[120.6519,30.8496],[120.6299,30.8551],[120.5859,30.8551],[120.564,30.8331],[120.509,30.7562],[120.4871,30.7617],[120.4761,30.7837],[120.4761,30.8057],[120.4541,30.8167],[120.4651,30.8386],[120.4431,30.8551],[120.4541,30.8661],[120.4321,30.8881],[120.4321,30.921],[120.4211,30.9265],[120.4211,30.8936],[120.3662,30.8826],[120.3552,30.91],[120.3662,30.9485],[120.3113,30.932],[120.2563,30.9265],[120.1245,30.943],[120.0586,31.0034],[119.9927,31.0309],[119.9817,31.0583],[119.9487,31.1023],[119.9377,31.1407],[119.9268,31.1627],[119.9158,31.1682]]]}},
                    {"type": "Feature","properties":{"id":"3213","name":"宿迁市","cp":[118.5535,33.7775],"childNum":4},"geometry":{"type":"Polygon","coordinates":[[[118.1689,33.75],[118.1799,33.7665],[118.1689,33.7885],[118.158,33.7939],[118.1689,33.8214],[118.1799,33.8159],[118.1909,33.8269],[118.1799,33.8434],[118.1689,33.8763],[118.147,33.8983],[118.136,33.9368],[118.125,33.9532],[118.114,33.9532],[118.114,33.9423],[118.114,33.9368],[118.0811,33.9423],[118.0811,33.9642],[118.0481,33.9752],[118.0261,33.9917],[118.0371,34.0082],[118.0591,34.0082],[118.0591,34.0192],[118.0591,34.0521],[118.0481,34.0906],[118.0151,34.0851],[118.0042,34.0906],[118.0042,34.1016],[117.9932,34.1071],[117.9932,34.118],[118.0042,34.14],[118.0591,34.151],[118.0701,34.1675],[118.0811,34.1675],[118.103,34.14],[118.125,34.1455],[118.147,34.1345],[118.158,34.14],[118.158,34.162],[118.2129,34.162],[118.2349,34.1235],[118.3008,34.1125],[118.3887,34.118],[118.4875,34.0961],[118.5095,34.1125],[118.5095,34.162],[118.5205,34.1675],[118.5645,34.1675],[118.5645,34.1949],[118.5754,34.2224],[118.5645,34.2499],[118.5754,34.2773],[118.5754,34.2938],[118.5864,34.3103],[118.6304,34.3103],[118.6304,34.3378],[118.6194,34.3378],[118.6414,34.3597],[118.6743,34.3378],[118.6963,34.3488],[118.7402,34.3268],[118.7512,34.3323],[118.7622,34.3103],[118.7732,34.3103],[118.7842,34.3103],[118.8062,34.3378],[118.8171,34.3597],[118.8281,34.3652],[118.916,34.3707],[118.949,34.3762],[118.96,34.3597],[118.9929,34.3872],[118.9929,34.4037],[119.0259,34.4037],[119.0259,34.3982],[119.0369,34.4037],[119.0369,34.4202],[119.0588,34.4202],[119.0588,34.3982],[119.0588,34.3542],[119.0588,34.3378],[119.0808,34.3433],[119.0698,34.3323],[119.0808,34.3158],[119.0698,34.2664],[119.0918,34.2609],[119.1028,34.2059],[119.1357,34.2004],[119.1357,34.1785],[119.1467,34.173],[119.1467,34.1565],[119.1357,34.1455],[119.1467,34.1345],[119.1467,34.14],[119.1687,34.129],[119.1797,34.118],[119.1687,34.1016],[119.1797,34.0906],[119.1577,34.0741],[119.1467,34.0466],[119.0808,34.0027],[119.0808,33.9862],[119.0479,33.9697],[119.0369,33.9587],[119.0479,33.9587],[119.0479,33.9368],[119.0369,33.9258],[119.0039,33.8983],[118.9709,33.9203],[118.905,33.8928],[118.894,33.8873],[118.8721,33.8928],[118.8281,33.8599],[118.7952,33.8159],[118.8062,33.7885],[118.7952,33.7665],[118.8062,33.761],[118.8062,33.7445],[118.8171,33.728],[118.8171,33.7006],[118.8062,33.6951],[118.7952,33.6731],[118.7952,33.6456],[118.7622,33.6346],[118.7842,33.5907],[118.8062,33.5742],[118.7952,33.5413],[118.7732,33.4369],[118.7512,33.3875],[118.7842,33.3435],[118.5095,33.2611],[118.4216,33.1897],[118.2678,33.2007],[118.2239,33.1787],[118.2019,33.2062],[118.1799,33.2172],[118.158,33.1952],[118.158,33.1787],[118.158,33.1732],[118.0701,33.1403],[118.0481,33.1403],[118.0481,33.1458],[118.0371,33.1348],[118.0371,33.1512],[117.9932,33.1842],[117.9822,33.2007],[117.9932,33.2062],[117.9822,33.2281],[117.9602,33.2227],[117.9382,33.2281],[117.9492,33.2501],[117.9492,33.2666],[117.9712,33.2776],[117.9822,33.2941],[117.9932,33.3325],[117.9712,33.338],[117.9712,33.349],[117.9932,33.349],[118.0261,33.371],[118.0261,33.3929],[118.0151,33.4039],[118.0371,33.4589],[118.0481,33.4863],[118.103,33.4753],[118.103,33.4808],[118.114,33.5907],[118.114,33.6182],[118.1689,33.6621],[118.1689,33.7115],[118.158,33.7225],[118.158,33.7335],[118.1799,33.7335],[118.1909,33.739],[118.1689,33.75]]]}},
                    {"type": "Feature","properties":{"id":"3207","name":"连云港市","cp":[119.1248,34.552],"childNum":5},"geometry":{"type":"Polygon","coordinates":[[[118.4106,34.4366],[118.4106,34.4696],[118.4326,34.4971],[118.4436,34.5245],[118.4216,34.5905],[118.4326,34.6234],[118.4656,34.6234],[118.4656,34.6729],[118.4985,34.6729],[118.5205,34.6893],[118.5315,34.7113],[118.5535,34.7058],[118.5974,34.7168],[118.6084,34.6948],[118.6414,34.6893],[118.6633,34.6948],[118.6853,34.6783],[118.7183,34.6948],[118.7512,34.6948],[118.7842,34.7223],[118.7622,34.7388],[118.7402,34.7388],[118.7183,34.7443],[118.7183,34.7552],[118.7183,34.7662],[118.7402,34.7662],[118.7402,34.7772],[118.7292,34.7882],[118.7732,34.7937],[118.7842,34.8267],[118.7622,34.8431],[118.8062,34.8431],[118.8062,34.8761],[118.8611,34.942],[118.8611,35.0244],[118.927,35.0519],[118.949,35.0409],[119.0039,35.0519],[119.1138,35.0574],[119.1357,35.0958],[119.2017,35.1123],[119.2236,35.1068],[119.2456,35.1233],[119.2896,35.1123],[119.3005,35.0958],[119.3005,35.0739],[119.3445,35.0299],[119.3445,35.0189],[119.3335,34.8981],[119.3555,34.8651],[119.4434,34.8376],[119.4983,34.8047],[119.5642,34.7827],[119.5862,34.7662],[119.5972,34.7333],[119.6082,34.6564],[119.6191,34.6344],[119.74,34.574],[119.8499,34.5465],[119.7949,34.4696],[119.7949,34.4366],[119.7949,34.4147],[119.7839,34.4092],[119.8059,34.3817],[119.762,34.3488],[119.751,34.3268],[119.74,34.3048],[119.6631,34.2554],[119.5862,34.2114],[119.5532,34.2059],[119.5093,34.173],[119.5093,34.162],[119.5313,34.162],[119.5313,34.1455],[119.5203,34.1345],[119.5422,34.1071],[119.5532,34.1125],[119.5862,34.0906],[119.5752,34.0741],[119.5642,34.0686],[119.5532,34.0576],[119.5642,34.0356],[119.5642,34.0137],[119.5422,34.0192],[119.5313,34.0302],[119.5203,34.0356],[119.5093,34.0137],[119.4434,33.9807],[119.4324,33.9862],[119.4324,34.0027],[119.4104,34.0082],[119.3994,34.0192],[119.3884,34.0356],[119.3225,34.0247],[119.2896,34.0411],[119.2346,34.0356],[119.2236,34.0521],[119.2126,34.0576],[119.1797,34.0906],[119.1687,34.1016],[119.1797,34.118],[119.1687,34.129],[119.1467,34.14],[119.1467,34.1345],[119.1357,34.1455],[119.1467,34.1565],[119.1467,34.173],[119.1357,34.1785],[119.1357,34.2004],[119.1028,34.2059],[119.0918,34.2609],[119.0698,34.2664],[119.0808,34.3158],[119.0698,34.3323],[119.0808,34.3433],[119.0588,34.3378],[119.0588,34.3542],[119.0588,34.3982],[119.0588,34.4202],[119.0369,34.4202],[119.0369,34.4037],[119.0259,34.3982],[119.0259,34.4037],[118.9929,34.4037],[118.9929,34.3872],[118.96,34.3597],[118.949,34.3762],[118.916,34.3707],[118.8281,34.3652],[118.8171,34.3597],[118.8062,34.3378],[118.7842,34.3103],[118.7732,34.3103],[118.7622,34.3103],[118.7512,34.3323],[118.7402,34.3268],[118.6963,34.3488],[118.6743,34.3378],[118.6414,34.3597],[118.6414,34.3762],[118.6743,34.3982],[118.6743,34.4147],[118.6523,34.4257],[118.6414,34.4421],[118.5974,34.4421],[118.5754,34.4147],[118.5205,34.4366],[118.4656,34.4092],[118.4216,34.4202],[118.4106,34.4366]]]}},
                    {"type": "Feature","properties":{"id":"3210","name":"扬州市","cp":[119.4653,32.8162],"childNum":5},"geometry":{"type":"Polygon","coordinates":[[[119.0698,32.4646],[119.0808,32.4536],[119.0918,32.4701],[119.1138,32.4811],[119.1248,32.4921],[119.1577,32.5085],[119.1577,32.536],[119.1687,32.536],[119.1467,32.5635],[119.1797,32.5745],[119.1797,32.5964],[119.2126,32.569],[119.2236,32.5745],[119.2126,32.5909],[119.2236,32.6019],[119.2236,32.6129],[119.2126,32.6129],[119.2236,32.6294],[119.2126,32.6459],[119.1797,32.6678],[119.2126,32.6843],[119.2126,32.7063],[119.1907,32.8271],[119.2456,32.8217],[119.3225,32.8326],[119.3225,32.9919],[119.3555,33.0304],[119.3665,33.0524],[119.3445,33.0634],[119.3115,33.1293],[119.2456,33.1567],[119.2236,33.1512],[119.2126,33.2062],[119.1467,33.2117],[119.1467,33.2391],[119.1577,33.2611],[119.1577,33.2831],[119.2676,33.3051],[119.2456,33.3215],[119.2346,33.3435],[119.2456,33.349],[119.3115,33.3655],[119.4214,33.3765],[119.4543,33.3875],[119.4873,33.4039],[119.5313,33.4149],[119.5642,33.3984],[119.5752,33.3765],[119.6082,33.3765],[119.6191,33.338],[119.6301,33.3325],[119.6411,33.2941],[119.6521,33.2831],[119.696,33.2941],[119.707,33.2831],[119.718,33.2721],[119.696,33.2666],[119.6851,33.2336],[119.718,33.2172],[119.707,33.2007],[119.696,33.2007],[119.6521,33.1512],[119.6521,33.1018],[119.6631,33.0908],[119.696,33.0798],[119.6851,33.0469],[119.696,33.0469],[119.696,33.0194],[119.718,33.0029],[119.696,32.9865],[119.707,32.9755],[119.6851,32.9645],[119.696,32.9535],[119.718,32.937],[119.718,32.8986],[119.7839,32.9095],[119.7839,32.8876],[119.8059,32.8656],[119.7949,32.8436],[119.8059,32.8217],[119.7949,32.8107],[119.8279,32.7997],[119.8279,32.7777],[119.8608,32.7777],[119.8608,32.7612],[119.8389,32.7393],[119.8608,32.7063],[119.8828,32.6953],[119.8718,32.6898],[119.8718,32.6788],[119.8938,32.6733],[119.9158,32.6239],[119.8718,32.6184],[119.8718,32.6294],[119.8389,32.6404],[119.8169,32.6239],[119.8169,32.6074],[119.8169,32.6019],[119.8169,32.5909],[119.8169,32.5745],[119.8169,32.558],[119.8389,32.5525],[119.8389,32.5415],[119.8169,32.536],[119.8169,32.4701],[119.8279,32.4591],[119.8499,32.4646],[119.8718,32.4207],[119.8499,32.4152],[119.8499,32.3987],[119.8608,32.3712],[119.8389,32.3547],[119.8389,32.3328],[119.8499,32.3273],[119.8389,32.3163],[119.8389,32.3053],[119.8279,32.3108],[119.8279,32.2998],[119.762,32.3163],[119.74,32.3108],[119.707,32.2778],[119.696,32.2833],[119.6741,32.2668],[119.6301,32.2559],[119.6191,32.2229],[119.6082,32.2504],[119.5862,32.2559],[119.5752,32.2504],[119.5642,32.2723],[119.5752,32.2778],[119.5752,32.2888],[119.5422,32.2833],[119.5203,32.2504],[119.4543,32.2614],[119.4214,32.2504],[119.3774,32.2284],[119.2786,32.2339],[119.2346,32.2229],[119.1467,32.2449],[119.0918,32.2394],[119.0369,32.2614],[119.0369,32.3328],[119.0259,32.3492],[119.0369,32.3657],[119.0259,32.3767],[119.0369,32.3877],[119.0259,32.3932],[119.0149,32.4152],[119.0259,32.4261],[119.0259,32.4481],[119.0479,32.4646],[119.0698,32.4646]]]}},
                    {"type": "Feature","properties":{"id":"3201","name":"南京市","cp":[118.8062,31.9208],"childNum":3},"geometry":{"type":"Polygon","coordinates":[[[119.0698,32.4646],[119.0479,32.4646],[119.0259,32.4481],[119.0259,32.4261],[119.0149,32.4152],[119.0259,32.3932],[119.0369,32.3877],[119.0259,32.3767],[119.0369,32.3657],[119.0259,32.3492],[119.0369,32.3328],[119.0369,32.2614],[119.0918,32.2394],[119.1467,32.2449],[119.2346,32.2229],[119.2346,32.2119],[119.2126,32.1899],[119.1577,32.1844],[119.1357,32.1954],[119.0808,32.179],[119.0698,32.1625],[119.0479,32.157],[119.0149,32.124],[119.0039,32.113],[119.0369,32.113],[119.0479,32.1021],[119.0808,32.1075],[119.0918,32.0911],[119.1028,32.0911],[119.1028,32.0691],[119.0918,32.0526],[119.1028,32.0142],[119.0918,32.0032],[119.1138,32.0032],[119.1248,31.9812],[119.1028,31.9647],[119.0918,31.9757],[119.0698,31.9757],[119.0369,31.9647],[119.0259,31.9537],[119.0479,31.9373],[119.1028,31.9318],[119.1248,31.8933],[119.0918,31.8604],[119.0698,31.8713],[119.0259,31.8494],[118.9819,31.8439],[118.9709,31.8329],[119.0039,31.7944],[119.0039,31.7834],[118.9819,31.7834],[118.9819,31.767],[118.9929,31.767],[119.0039,31.778],[119.0149,31.778],[119.0479,31.7889],[119.0808,31.7834],[119.1357,31.723],[119.1577,31.701],[119.1907,31.6901],[119.1907,31.6516],[119.2017,31.6461],[119.2126,31.6296],[119.2346,31.6296],[119.2126,31.5692],[119.2017,31.5527],[119.1907,31.5527],[119.1797,31.5363],[119.1797,31.5253],[119.2017,31.5198],[119.1907,31.5033],[119.1467,31.4868],[119.1577,31.4703],[119.1467,31.4539],[119.1687,31.4374],[119.1687,31.3824],[119.1907,31.3824],[119.2236,31.3495],[119.2017,31.333],[119.1907,31.311],[119.1797,31.3],[119.1687,31.2946],[119.1577,31.2946],[119.1357,31.2671],[119.1138,31.2561],[119.1028,31.2341],[119.0808,31.2396],[119.0808,31.2341],[119.0479,31.2341],[119.0149,31.2396],[118.9929,31.2286],[118.9819,31.2396],[118.949,31.2341],[118.916,31.2451],[118.8501,31.2396],[118.8281,31.2286],[118.7842,31.2341],[118.7512,31.2726],[118.7183,31.2836],[118.6963,31.2946],[118.7073,31.3],[118.7512,31.3824],[118.7622,31.3879],[118.7732,31.377],[118.7732,31.366],[118.8062,31.3715],[118.8391,31.3824],[118.8721,31.4264],[118.8721,31.4484],[118.8831,31.5253],[118.8721,31.5308],[118.8831,31.5692],[118.8721,31.5747],[118.8721,31.5912],[118.8611,31.5912],[118.8721,31.6077],[118.8611,31.6241],[118.8391,31.6296],[118.8062,31.6187],[118.7952,31.6296],[118.7842,31.6571],[118.7952,31.6681],[118.7732,31.6791],[118.7512,31.6791],[118.7402,31.6406],[118.7292,31.6296],[118.7073,31.6406],[118.6853,31.6351],[118.6523,31.6461],[118.6523,31.6791],[118.6743,31.6956],[118.6963,31.7065],[118.6853,31.723],[118.6523,31.7285],[118.6414,31.7615],[118.6194,31.7505],[118.6084,31.756],[118.5754,31.7395],[118.5754,31.745],[118.5535,31.7285],[118.5535,31.7395],[118.5315,31.734],[118.5315,31.745],[118.5425,31.7505],[118.5425,31.756],[118.5425,31.7615],[118.5095,31.767],[118.4985,31.778],[118.4875,31.778],[118.4985,31.8384],[118.4656,31.8604],[118.4766,31.8823],[118.4436,31.8988],[118.4216,31.8988],[118.3997,31.9153],[118.3887,31.9098],[118.3667,31.9318],[118.3667,31.9537],[118.3777,31.9702],[118.3777,31.9812],[118.3887,31.9922],[118.3997,32.0251],[118.3887,32.0361],[118.3887,32.0526],[118.3887,32.0581],[118.3997,32.0746],[118.4656,32.1021],[118.4766,32.1185],[118.4985,32.1185],[118.4985,32.1405],[118.5095,32.1405],[118.4985,32.1735],[118.5095,32.1844],[118.5095,32.1954],[118.5205,32.1899],[118.5754,32.2009],[118.5974,32.1954],[118.6414,32.2119],[118.6743,32.2504],[118.6633,32.2668],[118.6743,32.2833],[118.6633,32.3053],[118.6743,32.3163],[118.6963,32.3163],[118.6853,32.3273],[118.7073,32.3273],[118.7073,32.3383],[118.6963,32.3492],[118.6963,32.3822],[118.6963,32.3767],[118.6743,32.3932],[118.6853,32.3987],[118.6963,32.4701],[118.6523,32.4756],[118.6304,32.4701],[118.5974,32.4811],[118.5974,32.5031],[118.6084,32.5031],[118.6194,32.514],[118.6084,32.525],[118.6084,32.5415],[118.5645,32.5635],[118.5754,32.5854],[118.5974,32.6019],[118.6414,32.58],[118.6633,32.5964],[118.6963,32.5909],[118.6853,32.6019],[118.6963,32.5909],[118.6963,32.6074],[118.7183,32.6129],[118.7402,32.5909],[118.7622,32.6019],[118.7842,32.58],[118.8062,32.5854],[118.8281,32.6019],[118.8171,32.58],[118.8281,32.5745],[118.8501,32.569],[118.905,32.5909],[118.894,32.558],[118.8831,32.558],[118.905,32.558],[118.916,32.547],[118.916,32.558],[118.938,32.558],[118.9709,32.525],[118.9709,32.5085],[118.9929,32.5031],[119.0259,32.5195],[119.0369,32.514],[119.0479,32.4976],[119.0588,32.4811],[119.0698,32.4646]]]}},
                    {"type": "Feature","properties":{"id":"3212","name":"泰州市","cp":[120.0586,32.5525],"childNum":5},"geometry":{"type":"Polygon","coordinates":[[[119.718,33.2172],[119.74,33.2062],[119.729,33.2062],[119.729,33.1787],[119.729,33.1732],[119.751,33.1732],[119.74,33.1458],[119.751,33.1293],[119.7729,33.1293],[119.8499,33.1567],[119.8718,33.1567],[119.8718,33.1403],[119.8938,33.1512],[119.9817,33.1512],[120.0476,33.1622],[120.0806,33.1842],[120.2124,33.1403],[120.3003,33.1293],[120.3003,33.0853],[120.3113,33.0579],[120.3113,32.9919],[120.3003,32.959],[120.2893,32.959],[120.2893,32.937],[120.2893,32.926],[120.2454,32.9315],[120.2344,32.9205],[120.2234,32.915],[120.2014,32.9205],[120.2014,32.9315],[120.1794,32.9315],[120.1794,32.8821],[120.2124,32.8656],[120.2014,32.8546],[120.1794,32.8271],[120.1904,32.8271],[120.1904,32.8107],[120.1685,32.8162],[120.1575,32.8052],[120.1685,32.7942],[120.1575,32.7832],[120.1794,32.7722],[120.2014,32.7887],[120.2234,32.7942],[120.2234,32.7777],[120.2124,32.7557],[120.1794,32.7502],[120.1794,32.7173],[120.1685,32.7228],[120.1575,32.7118],[120.1575,32.7063],[120.1465,32.7063],[120.1355,32.6898],[120.1245,32.6843],[120.1245,32.6349],[120.1135,32.6294],[120.1135,32.6129],[120.1245,32.6129],[120.1794,32.6239],[120.1794,32.6294],[120.2014,32.6184],[120.1904,32.6074],[120.2014,32.6019],[120.2234,32.5854],[120.2563,32.5964],[120.2673,32.5525],[120.2673,32.5031],[120.2563,32.4921],[120.2783,32.4701],[120.2893,32.3657],[120.3003,32.3712],[120.3113,32.3602],[120.3552,32.3767],[120.3552,32.3547],[120.3442,32.3383],[120.3662,32.3108],[120.3552,32.3053],[120.3442,32.2504],[120.3662,32.2394],[120.3662,32.2174],[120.3442,32.168],[120.3552,32.1295],[120.4431,32.124],[120.509,32.0911],[120.52,32.0856],[120.52,32.0581],[120.553,32.0526],[120.564,32.0361],[120.553,32.0142],[120.4321,32.0361],[120.4211,32.0306],[120.3662,31.9867],[120.2563,31.9373],[120.1794,31.9263],[120.0256,31.9702],[119.9817,32.0087],[119.9268,32.0966],[119.9048,32.146],[119.8718,32.2668],[119.8279,32.2998],[119.8279,32.3108],[119.8389,32.3053],[119.8389,32.3163],[119.8499,32.3273],[119.8389,32.3328],[119.8389,32.3547],[119.8608,32.3712],[119.8499,32.3987],[119.8499,32.4152],[119.8718,32.4207],[119.8499,32.4646],[119.8279,32.4591],[119.8169,32.4701],[119.8169,32.536],[119.8389,32.5415],[119.8389,32.5525],[119.8169,32.558],[119.8169,32.5745],[119.8169,32.5909],[119.8169,32.6019],[119.8169,32.6074],[119.8169,32.6239],[119.8389,32.6404],[119.8718,32.6294],[119.8718,32.6184],[119.9158,32.6239],[119.8938,32.6733],[119.8718,32.6788],[119.8718,32.6898],[119.8828,32.6953],[119.8608,32.7063],[119.8389,32.7393],[119.8608,32.7612],[119.8608,32.7777],[119.8279,32.7777],[119.8279,32.7997],[119.7949,32.8107],[119.8059,32.8217],[119.7949,32.8436],[119.8059,32.8656],[119.7839,32.8876],[119.7839,32.9095],[119.718,32.8986],[119.718,32.937],[119.696,32.9535],[119.6851,32.9645],[119.707,32.9755],[119.696,32.9865],[119.718,33.0029],[119.696,33.0194],[119.696,33.0469],[119.6851,33.0469],[119.696,33.0798],[119.6631,33.0908],[119.6521,33.1018],[119.6521,33.1512],[119.696,33.2007],[119.707,33.2007],[119.718,33.2172]]]}},
                    {"type": "Feature","properties":{"id":"3202","name":"无锡市","cp":[120.3442,31.5527],"childNum":3},"geometry":{"type":"Polygon","coordinates":[[[120.1794,31.7505],[120.2014,31.756],[120.1685,31.8274],[120.1904,31.8549],[120.1794,31.8658],[120.1575,31.8713],[120.1135,31.8549],[120.0916,31.8549],[120.0476,31.8219],[120.0256,31.8329],[120.0146,31.8219],[120.0037,31.8274],[119.9927,31.8549],[120.0037,31.8658],[120.0146,31.8823],[120.0037,31.8933],[120.0037,31.9098],[120.0146,31.9153],[120.0037,31.9482],[120.0256,31.9702],[120.1794,31.9263],[120.2563,31.9373],[120.3662,31.9867],[120.3772,31.9427],[120.3882,31.9318],[120.3772,31.9153],[120.4651,31.8878],[120.4651,31.8823],[120.4871,31.8713],[120.498,31.8439],[120.531,31.8329],[120.52,31.8054],[120.531,31.7889],[120.564,31.7889],[120.5859,31.778],[120.5969,31.745],[120.5859,31.7285],[120.5859,31.712],[120.5969,31.712],[120.5859,31.6901],[120.564,31.6846],[120.564,31.6681],[120.564,31.6571],[120.5969,31.6516],[120.5969,31.6241],[120.5969,31.6187],[120.575,31.6132],[120.564,31.6022],[120.542,31.6022],[120.542,31.5857],[120.553,31.5747],[120.5969,31.5857],[120.6079,31.5198],[120.5859,31.5253],[120.553,31.5088],[120.553,31.4978],[120.553,31.4813],[120.553,31.4758],[120.498,31.4484],[120.4211,31.4484],[120.2563,31.3824],[120.2344,31.355],[120.1794,31.322],[120.1245,31.2726],[120.1025,31.2616],[120.0037,31.2506],[119.9158,31.1682],[119.8828,31.1627],[119.8279,31.1737],[119.8059,31.1627],[119.7949,31.1572],[119.7949,31.1682],[119.7729,31.1792],[119.718,31.1682],[119.707,31.1517],[119.6741,31.1682],[119.6411,31.1462],[119.6301,31.1298],[119.5862,31.1188],[119.5752,31.1353],[119.5313,31.1572],[119.5532,31.1792],[119.5532,31.1957],[119.5532,31.2231],[119.5203,31.2396],[119.5313,31.2781],[119.5203,31.3165],[119.5313,31.333],[119.5313,31.366],[119.5422,31.3934],[119.5313,31.4099],[119.5532,31.4154],[119.5532,31.4319],[119.5752,31.4319],[119.5862,31.4484],[119.5862,31.4648],[119.5642,31.4648],[119.5752,31.4813],[119.5642,31.5033],[119.5862,31.5033],[119.6082,31.5527],[119.6411,31.5747],[119.6411,31.6022],[119.6631,31.6132],[119.6851,31.6022],[119.718,31.5582],[119.729,31.5637],[119.7949,31.5527],[119.8389,31.5308],[119.8499,31.5308],[119.8608,31.5472],[119.9377,31.5527],[119.9707,31.5363],[119.9927,31.5033],[120.0146,31.5033],[120.0366,31.4978],[120.0476,31.4868],[120.0476,31.4703],[120.0366,31.4264],[120.0256,31.3879],[120.0256,31.366],[120.0366,31.344],[120.0916,31.333],[120.1025,31.3385],[120.0916,31.3495],[120.0366,31.366],[120.0476,31.4044],[120.0586,31.4429],[120.1025,31.4594],[120.1135,31.4813],[120.1245,31.5033],[120.1245,31.5143],[120.1025,31.5198],[120.1025,31.5472],[120.0586,31.5582],[120.0586,31.5747],[120.0806,31.6077],[120.1245,31.6406],[120.1245,31.6846],[120.1465,31.6736],[120.1465,31.6846],[120.1465,31.6956],[120.1575,31.701],[120.1575,31.756],[120.1685,31.7615],[120.1794,31.7505]]]}},
                    {"type": "Feature","properties":{"id":"3204","name":"常州市","cp":[119.4543,31.5582],"childNum":3},"geometry":{"type":"Polygon","coordinates":[[[119.2346,31.6296],[119.2676,31.6351],[119.3115,31.6736],[119.3335,31.701],[119.3225,31.7175],[119.3335,31.7285],[119.3005,31.734],[119.3005,31.7615],[119.3225,31.7834],[119.3115,31.8164],[119.3335,31.8384],[119.3335,31.8494],[119.3445,31.8604],[119.3665,31.8604],[119.3994,31.8329],[119.4434,31.8274],[119.4214,31.8549],[119.4543,31.8878],[119.5093,31.8549],[119.5532,31.8604],[119.5862,31.8439],[119.6191,31.7944],[119.6411,31.7944],[119.6521,31.7725],[119.696,31.767],[119.707,31.7395],[119.74,31.7285],[119.74,31.7505],[119.751,31.7834],[119.762,31.7889],[119.762,31.8054],[119.7949,31.8054],[119.7839,31.8164],[119.8059,31.8494],[119.7729,31.8494],[119.762,31.8713],[119.751,31.8823],[119.751,31.8878],[119.7839,31.9043],[119.7839,31.9208],[119.7949,31.9263],[119.7729,31.9482],[119.7839,32.0251],[119.8059,32.0581],[119.8718,32.0581],[119.8828,32.0416],[119.8938,32.0471],[119.9158,32.0032],[119.9817,32.0087],[120.0256,31.9702],[120.0037,31.9482],[120.0146,31.9153],[120.0037,31.9098],[120.0037,31.8933],[120.0146,31.8823],[120.0037,31.8658],[119.9927,31.8549],[120.0037,31.8274],[120.0146,31.8219],[120.0256,31.8329],[120.0476,31.8219],[120.0916,31.8549],[120.1135,31.8549],[120.1575,31.8713],[120.1794,31.8658],[120.1904,31.8549],[120.1685,31.8274],[120.2014,31.756],[120.1794,31.7505],[120.1685,31.7615],[120.1575,31.756],[120.1575,31.701],[120.1465,31.6956],[120.1465,31.6846],[120.1465,31.6736],[120.1245,31.6846],[120.1245,31.6406],[120.0806,31.6077],[120.0586,31.5747],[120.0586,31.5582],[120.1025,31.5472],[120.1025,31.5198],[120.1245,31.5143],[120.1245,31.5033],[120.1135,31.4813],[120.1025,31.4594],[120.0586,31.4429],[120.0476,31.4044],[120.0366,31.366],[120.0916,31.3495],[120.1025,31.3385],[120.0916,31.333],[120.0366,31.344],[120.0256,31.366],[120.0256,31.3879],[120.0366,31.4264],[120.0476,31.4703],[120.0476,31.4868],[120.0366,31.4978],[120.0146,31.5033],[119.9927,31.5033],[119.9707,31.5363],[119.9377,31.5527],[119.8608,31.5472],[119.8499,31.5308],[119.8389,31.5308],[119.7949,31.5527],[119.729,31.5637],[119.718,31.5582],[119.6851,31.6022],[119.6631,31.6132],[119.6411,31.6022],[119.6411,31.5747],[119.6082,31.5527],[119.5862,31.5033],[119.5642,31.5033],[119.5752,31.4813],[119.5642,31.4648],[119.5862,31.4648],[119.5862,31.4484],[119.5752,31.4319],[119.5532,31.4319],[119.5532,31.4154],[119.5313,31.4099],[119.5422,31.3934],[119.5313,31.366],[119.5313,31.333],[119.5203,31.3165],[119.5313,31.2781],[119.5203,31.2396],[119.5532,31.2231],[119.5532,31.1957],[119.5532,31.1792],[119.5313,31.1572],[119.5093,31.1572],[119.4873,31.1627],[119.4873,31.1517],[119.4543,31.1572],[119.4324,31.1792],[119.4214,31.1737],[119.3884,31.1737],[119.3884,31.1847],[119.4104,31.1902],[119.3994,31.1957],[119.3774,31.1902],[119.3665,31.2067],[119.3665,31.2396],[119.3774,31.2671],[119.3555,31.3],[119.3445,31.2616],[119.3115,31.2671],[119.2676,31.2506],[119.2566,31.2616],[119.2456,31.2561],[119.2236,31.2671],[119.2126,31.2726],[119.2017,31.2671],[119.2017,31.2726],[119.2017,31.2946],[119.1797,31.3],[119.1907,31.311],[119.2017,31.333],[119.2236,31.3495],[119.1907,31.3824],[119.1687,31.3824],[119.1687,31.4374],[119.1467,31.4539],[119.1577,31.4703],[119.1467,31.4868],[119.1907,31.5033],[119.2017,31.5198],[119.1797,31.5253],[119.1797,31.5363],[119.1907,31.5527],[119.2017,31.5527],[119.2126,31.5692],[119.2346,31.6296]]]}},
                    {"type": "Feature","properties":{"id":"3211","name":"镇江市","cp":[119.4763,31.9702],"childNum":4},"geometry":{"type":"Polygon","coordinates":[[[119.2346,32.2229],[119.2786,32.2339],[119.3774,32.2284],[119.4214,32.2504],[119.4543,32.2614],[119.5203,32.2504],[119.5422,32.2833],[119.5752,32.2888],[119.5752,32.2778],[119.5642,32.2723],[119.5752,32.2504],[119.5862,32.2559],[119.6082,32.2504],[119.6191,32.2229],[119.6301,32.2559],[119.6741,32.2668],[119.696,32.2833],[119.707,32.2778],[119.74,32.3108],[119.762,32.3163],[119.8279,32.2998],[119.8718,32.2668],[119.9048,32.146],[119.9268,32.0966],[119.9817,32.0087],[119.9158,32.0032],[119.8938,32.0471],[119.8828,32.0416],[119.8718,32.0581],[119.8059,32.0581],[119.7839,32.0251],[119.7729,31.9482],[119.7949,31.9263],[119.7839,31.9208],[119.7839,31.9043],[119.751,31.8878],[119.751,31.8823],[119.762,31.8713],[119.7729,31.8494],[119.8059,31.8494],[119.7839,31.8164],[119.7949,31.8054],[119.762,31.8054],[119.762,31.7889],[119.751,31.7834],[119.74,31.7505],[119.74,31.7285],[119.707,31.7395],[119.696,31.767],[119.6521,31.7725],[119.6411,31.7944],[119.6191,31.7944],[119.5862,31.8439],[119.5532,31.8604],[119.5093,31.8549],[119.4543,31.8878],[119.4214,31.8549],[119.4434,31.8274],[119.3994,31.8329],[119.3665,31.8604],[119.3445,31.8604],[119.3335,31.8494],[119.3335,31.8384],[119.3115,31.8164],[119.3225,31.7834],[119.3005,31.7615],[119.3005,31.734],[119.3335,31.7285],[119.3225,31.7175],[119.3335,31.701],[119.3115,31.6736],[119.2676,31.6351],[119.2346,31.6296],[119.2126,31.6296],[119.2017,31.6461],[119.1907,31.6516],[119.1907,31.6901],[119.1577,31.701],[119.1357,31.723],[119.0808,31.7834],[119.0479,31.7889],[119.0149,31.778],[119.0039,31.778],[118.9929,31.767],[118.9819,31.767],[118.9819,31.7834],[119.0039,31.7834],[119.0039,31.7944],[118.9709,31.8329],[118.9819,31.8439],[119.0259,31.8494],[119.0698,31.8713],[119.0918,31.8604],[119.1248,31.8933],[119.1028,31.9318],[119.0479,31.9373],[119.0259,31.9537],[119.0369,31.9647],[119.0698,31.9757],[119.0918,31.9757],[119.1028,31.9647],[119.1248,31.9812],[119.1138,32.0032],[119.0918,32.0032],[119.1028,32.0142],[119.0918,32.0526],[119.1028,32.0691],[119.1028,32.0911],[119.0918,32.0911],[119.0808,32.1075],[119.0479,32.1021],[119.0369,32.113],[119.0039,32.113],[119.0149,32.124],[119.0479,32.157],[119.0698,32.1625],[119.0808,32.179],[119.1357,32.1954],[119.1577,32.1844],[119.2126,32.1899],[119.2346,32.2119],[119.2346,32.2229]]]}}
                ]
    };
      console.log(china);
      var chuang = {
          "type": "FeatureCollection",
          "features":[]
      };
      for(let i = 0;i<china.features.length;i++){
          if(i == 7||i == 8 || i == 9 || i == 30){
              chuang.features.push(china.features[i]);
          }
      }
    //   console.log(chuang);

      china.features.splice(31,3);
      china.features.splice(10,20);
      china.features.splice(0,7);
      var chinese = china;
      console.log(chinese);

      for(let item = 0;item<hai.features.length;item++){
          area.features[3].geometry.coordinates.push(hai.features[item].geometry.coordinates);
      }
      for(let item = 0;item<zhe.features.length;item++){
          area.features[1].geometry.coordinates.push(zhe.features[item].geometry.coordinates);
      }
      for(let item = 0;item<su.features.length;item++){
          area.features[2].geometry.coordinates.push(su.features[item].geometry.coordinates);
      }
      for(let item = 0;item<hui.features.length;item++){
          area.features[0].geometry.coordinates.push(hui.features[item].geometry.coordinates);
      }  
    //   myjson.features[2].geometry.coordinates = [];
    //   for(let item = 0;item<provinceJson.features.length;item++){
    //       myjson.features[2].geometry.coordinates.push(provinceJson.features[item].geometry.coordinates);
    //   }
    //   console.log(area);   
    //   area.features.length = 1;
    //   area.features[0].geometry = myjson.features[0].geometry;
      this.$echarts.registerMap('tt', myjson);
      this.$echarts.registerMap('swd', area);
      this.$echarts.registerMap('chuang', chinese);
      this.chart = this.$echarts.init(document.getElementById(this.chartId));
      this.chart.setOption(this.option);
      window.addEventListener("resize", this.chart.resize);
    },
    getRegins(){
        let arr = ['黑龙江','吉林','辽宁','台湾','澳门','香港','西藏','重庆','云南','贵州','四川','新疆','甘肃','陕西','青海','宁夏','内蒙古','山西','河北','河南','天津','北京','湖北','湖南','海南','广西','广东','江西','福建','山东','南海诸岛'];
        for(let i = 0;i<arr.length;i++){
            this.regions.push({ name:arr[i],itemStyle : { opacity : 0 } });
        }
        this.option.geo.regions = this.regions;
    }
  },
  mounted(){
    // this.getRegins();
    this.init();
  }
}
</script>

<style lang="scss" scoped>
  .x-bar {
    width: 100%;
    height: 100%;
  }
</style>
